ADD_EXECUTABLE(SamplesCPP
        Main.cpp SampleRenderer.cpp LineListener.cpp BspListener.cpp
        Functor/Bsp.cpp Functor/Color.cpp Functor/Fov.cpp Functor/Image.cpp
        Functor/Lines.cpp Functor/Mouse.cpp Functor/Noise.cpp
        Functor/Offscreen.cpp Functor/Path.cpp Functor/Sdl.cpp)

SET_TARGET_PROPERTIES(SamplesCPP PROPERTIES CXX_STANDARD 17)
TARGET_LINK_LIBRARIES(SamplesCPP PRIVATE Doryen::Framework)
TARGET_LINK_LIBRARIES(SamplesCPP PRIVATE Doryen::Algorithms::Noise)

# Moving directory with resources needed
FILE(COPY ../../Data/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/Data)
FILE(COPY ../../Terminal.png DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)